<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!-- saved from url=(0186)http://www.weixingongzuoshi.com/weizhan/dizhi.aspx?dizhi=%E4%B8%8A%E6%B5%B7%E5%B7%9D%E6%B2%99%E9%95%87%E9%BB%84%E8%B5%B5%E8%B7%AF310%E5%8F%B7%E8%BF%AA%E5%A3%AB%E5%B0%BC%E4%B9%90%E5%9B%AD -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="style1.3.8.css"><title>

</title>
    <script src="maps" type="text/javascript">
    </script>
    <style type="text/css">
    .amap-container{cursor:url(http://webapi.amap.com/theme/v1.3/openhand.cur),default;}
    .amap-drag{cursor:url(http://webapi.amap.com/theme/v1.3/closedhand.cur),default;}
    </style>
    <script type="text/javascript" src="jquery-1.11.1.min.js">
    </script>
    <script type="text/javascript">
        var marker = new Array();
        var windowsArr = new Array();
        var mapObj;
        var addressRequest;

        function mapInit(add) {
            var opt = {
                level: 13,
                center: new AMap.LngLat(116.397428, 39.90923),
                doubleClickZoom: false,
                scrollWheel: false
            }
            mapObj = new AMap.Map("container", opt); AMap.Conf.network = 1;
            geocodeSearch(add);
        }
        function geocodeSearch(add) {
            mapObj.clearMap();

            var GeocoderOption = {
                range: 300,
                crossnum: 2,
                roadnum: 3,
                poinum: 2
            };
            var geo = new AMap.Geocoder(GeocoderOption);
            var latitude = 121.4429194;
            var longitude = 31.1994912;
            geo.geocode(add, function (data) {
                var resultStr = "";
                if (data.status == "E0") {
                    resultStr = data.list[0].x + "," + data.list[0].y;
                    latitude = data.list[0].x;
                    longitude = data.list[0].y;
                }
            });
        }
        function mapInit2(addr) {
            addressRequest = addr;
            mapObj = new AMap.Map("container");
            geocoder(addr);
        }
        function geocoder(addr) {
            var MGeocoder;
            mapObj.plugin(["AMap.Geocoder"], function () {
                MGeocoder = new AMap.Geocoder({
                    radius: 1000,
                    extensions: "all"
                });
                AMap.event.addListener(MGeocoder, "complete", geocoder_CallBack);
                MGeocoder.getLocation(addr);
            });
        }
        function addmarker(i, d) {
            var lngX = d.location.getLng();
            var latY = d.location.getLat();
            var markerOption = {
                map: mapObj,
                icon: "http://webapi.amap.com/images/0.png",
                position: new AMap.LngLat(lngX, latY)
            };
            var mar = new AMap.Marker(markerOption);
            marker.push(new AMap.LngLat(lngX, latY));
            var infoWindow = new AMap.InfoWindow({
                content: addressRequest,
                autoMove: true,
                size: new AMap.Size(150, 0),
                offset: { x: 0, y: -30 }
            });
            windowsArr.push(infoWindow);
            infoWindow.open(mapObj, mar.getPosition());
        }
        function geocoder_CallBack(data) {
            var resultStr = "";
            var geocode = new Array();
            geocode = data.geocodes;
            if (geocode.length > 0) {
                addmarker(0, geocode[0]);
                mapObj.setZoomAndCenter(16, new AMap.LngLat(geocode[0].location.getLng(), geocode[0].location.getLat()));
            }
        }
    </script>
     <style type="text/css">  
        html{height:100%}  
        body{height:100%;margin:0px;padding:0px}  
        form{height:100%;margin:0px;padding:0px}  
        #container{height:100%}  
    </style>
<script type="text/javascript" charset="utf-8" src="count"></script></head>
<body>
    <form method="post" action="http://www.weixingongzuoshi.com/weizhan/dizhi.aspx?dizhi=%u4e0a%u6d77%u5ddd%u6c99%u9547%u9ec4%u8d75%u8def310%u53f7%u8fea%u58eb%u5c3c%u4e50%u56ed" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTEwMjc1MjM1NDRkZCMH/kP63rAfyBX6L9iUtYTQSewdmK6tbVjOoOzobcdh">
</div>

<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="12E89756">
</div>
    <div id="container" class="amap-container" style="cursor: url(http://js.webapi.amap.com/theme/v1.3/openhand.cur), default;"><div class="amap-maps"><div class="amap-drags"><div class="amap-layers" style="-webkit-transform: translateZ(0px); width: 590px; height: 200px; overflow: visible;"><div style="position: absolute; z-index: 0; top: -10px; left: -247px;"><canvas height="256" width="256" style="position: absolute; top: 0px; left: 768px; width: 256px; height: 256px; z-index: 16;"></canvas><canvas height="256" width="256" style="position: absolute; top: 0px; left: 512px; width: 256px; height: 256px; z-index: 16;"></canvas><canvas height="256" width="256" style="position: absolute; top: 0px; left: 256px; width: 256px; height: 256px; z-index: 16;"></canvas><canvas height="256" width="256" style="position: absolute; top: 0px; left: 0px; width: 256px; height: 256px; z-index: 16;"></canvas></div><canvas width="590" height="200" style="position: absolute; z-index: 1; height: 200px; width: 590px; top: 0px; left: 0px;"></canvas><div style="position: absolute; z-index: 120; top: 100px; left: 295px;"><div class="amap-marker" style="top: -3px; left: 47px; z-index: 100; -webkit-transform: translate(9px, 31px) rotate(0deg) translate(-9px, -31px); display: block;"><div class="amap-icon" style="position: absolute; overflow: inherit; width: 36px; height: 36px; opacity: 1;"><img src="0.png" style="top: 0px; left: 0px;"></div></div></div></div><div class="amap-overlays"><div class="amap-info" style="position: absolute; left: 276.342876603531px; top: 127.672350710127px;"><div style="position: absolute; bottom: 30px; left: 0px; display: block;"></div><div style="position: absolute; bottom: 30px; left: 0px;"><div><div class="amap-info-content amap-info-outer" style="width: 150px;">上海川沙镇黄赵路310号迪士尼乐园</div><a class="amap-info-close" href="javascript: void(0)" style="right: 5px;">×</a><div class="amap-info-sharp" style="height: 23px;"></div></div></div></div></div></div></div><div style="display: none;"></div><div class="amap-controls"></div><a class="amap-logo" href="http://amap.com/" target="_blank"><img src="autonavi.png"></a><div class="amap-copyright">v1.3.8 地图数据 ©2014 AutoNavi - GS(2014)6002号</div></div> 
    
<script type="text/javascript">mapInit2('上海川沙镇黄赵路310号迪士尼乐园');</script></form>
      
   <script type="text/javascript">
       wx.config({
           debug: false,
           appId: 'wxc805c7be2406014d',
           timestamp: '1439022314',
           nonceStr: 'jEspbwCOwRDovcSr',
           signature: '7c37af93e7952d68bd709b0f93d763a9cca7515b',
           jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo']
       });
       var shareData = {};
       wx.ready(function () {
           setData();
       });
       function setData() {
           shareData = {
               title: '上海川沙镇黄赵路310号迪士尼乐园',
               desc: '',
               link: 'http://www.weixingongzuoshi.com/weizhan/dizhi.aspx?dizhi=上海川沙镇黄赵路310号迪士尼乐园',
               imgUrl: 'http://www.weixingongzuoshi.com/static_img/user_upload/dizhi.png',
               success: function (res) {
               }
           };
           wx.onMenuShareAppMessage(shareData);
           wx.onMenuShareTimeline(shareData);
           wx.onMenuShareQQ(shareData);
           wx.onMenuShareWeibo(shareData);
       }
</script>
    <script type="text/javascript">
        $(function () {
            $(".fimg img").attr("src", "http://www.weixingongzuoshi.com/static_img/user_upload/dizhi.png");
        })
    </script>


</body></html>